package com.lz.nullpointer;

import org.junit.Test;

/**
 * TODO..
 *
 * @author: li
 * @date: 2019/1/11
 */
public class LongTest {
    @Test
    public void longTest() {
        Long num1 = null;
        num1 = (num1 == null || num1 == 0) ? null : num1;
        System.out.println(num1);
    }
}
